-
Home
-
Servebolt Optimizer
-
3.5.10
-
Code
-
Classes
- FullPageCacheHeaders
Total Complexity |
103 |
Dependencies |
5 |
Dependents |
3 |
Total lines |
597 |
Lines of code |
289 |
Logical lines of code |
180 |
Comment lines |
210 |
Methods |
27 |
Properties |
8 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setHeaders() |
D |
35 |
34 |
76 |
isAuthenticatedUser() |
S |
55 |
7 |
19 |
getPostTypesToCache() |
S |
61 |
6 |
11 |
header() |
S |
57 |
5 |
18 |
maybeFixPostTypeArrayStructure() |
S |
57 |
5 |
17 |
shouldSetCacheHeaders() |
S |
70 |
5 |
6 |
getQueriedObject() |
S |
59 |
4 |
14 |
shouldCacheArchive() |
S |
62 |
4 |
11 |
cacheHeaders() |
S |
56 |
3 |
17 |
getDefaultPostTypesToCache() |
S |
62 |
3 |
12 |
getAvailablePostTypesToCache() |
S |
62 |
3 |
11 |
getTtl() |
S |
70 |
3 |
6 |
cacheActiveForPostType() |
S |
66 |
3 |
9 |
__construct() |
S |
68 |
2 |
7 |
printHeader() |
S |
69 |
2 |
7 |
mock() |
S |
66 |
2 |
9 |
noCacheHeaders() |
S |
67 |
2 |
8 |
cacheAllPostTypes() |
S |
80 |
1 |
3 |
lastCall() |
S |
76 |
1 |
4 |
getMockHeaders() |
S |
80 |
1 |
3 |
htmlCacheCacheablePostTypesOptionKey() |
S |
81 |
1 |
3 |
setCacheablePostTypes() |
S |
78 |
1 |
3 |
shouldDebug() |
S |
79 |
1 |
3 |
isEcommerceCachePage() |
S |
79 |
1 |
3 |
isEcommerceNoCachePage() |
S |
79 |
1 |
3 |
setHeaderAlreadySetState() |
S |
81 |
1 |
3 |
init() |
S |
80 |
1 |
3 |